package com.framework.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.framework.dao.UserDao;
import com.framework.model.User;
import com.framework.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Autowired
	@Qualifier("userDao")
	private UserDao userDao;


	public User getUser(String name) {
		return userDao.queryUserByName(name);
	
	}
}
